import {request} from './request.js'
export function getArticles (token, state='已发布') {
	return request({
		url:'/my/article/getArticles',
		params:{
			state
		},
		//my时别忘了加
		headers: {
		        'Content-Type': 'application/x-www-form-urlencoded',
				'Authorization': token
		}
	})
}